<div class="layui-card index">
    <fieldset class="layui-elem-field index-box">
        <legend>欢迎你！</legend>
        <div class="layui-elem-quote layui-quote-nm">
            您当前登录的身份是：<span id="role"></span>
        </div>
    </fieldset>
</div>
<script>
    $(function () {
        let role = vCache.lGet('group_data.name') || '未知';
        $('#role').text(role)
    })

</script>